﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Innova.Microfinanzas.BusinessEntities;
using Innova.FoundationFramework.DataTypes;
using Innova.Microfinanzas.BusinessEntities.SystemEnums;

namespace MyCommerce.Presentation.UsersAndSecurity.IViews
{
    public interface IUserAdministrationView
    {
        long UserId { get; }
        List<User> ColUsersList { get; set; }
        User ObjUserSelected { get; }

        bool InvokeEditionView(User objUserToEdit);

        event GenericEventHandler<long> OnLoadView;
        event EventHandler OnCreateUser;
        event EventHandler OnGeneratedPassword;
        event GenericEventHandler<User> OnEditUser;
        event GenericEventHandler<List<string>> OnChangePassword;
        event GenericEventHandler<User> OnDeleteUser;
    }
}
